for n in range(0,10):
    print(n)
for a in range(0,5):
    for b in range (0,5):
        print("*",end="")
    print()